Continue working on handling of properties in bidi iteration.
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Jan 2010 15:57:35 +0000 (10:57 -0500)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Jan 2010 15:57:35 +0000 (10:57 -0500)
commit42f93ad8c653fb07cf10964deca89584713ebf9e
tree91ca9d336563cb45669f7c556d545f471eeebacf
parenta77284ebfbd97e8548ec4915b0db4a9305e7e434
Continue working on handling of properties in bidi iteration.
Region display and extension seems to work.
Solved a crash in bidirectional display of etc/HELLO.
(HELLO display still not 100% OK, e.g. near Kannada.)

 .gdbinit (pitx): Display some bidi information about the
 iterator.

 dispextern.h (BIDI_AT_BASE_LEVEL): Enclose definition in
 parentheses.

 xdisp.c (handle_stop_backwards): Save and restore it->current
 and it->position, instead of expecting the caller to do that.
 (next_element_from_buffer): When moving across stop_charpos,
 record it in prev_stop.  When IT_CHARPOS backs up, call
 handle_stop_backwards only if above the base embedding level.
 This solves the crash while displaying etc/HELLO in bidi mode.
src/.gdbinit
src/ChangeLog.bidi
src/dispextern.h
src/xdisp.c